package com.neusoft.ruangong.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.ruangong.domain.User;

import java.math.BigInteger;

/**
 * @author zhanglei
 * @create: 2021/06/29/12:46
 */
public interface UserService extends IService<User> {
    /**
     * 登录验证
     * @param name 用户名
     * @param password 密码
     * @return 一个用户
     */
    public User goLogin(String name,String password,Integer role);
    BigInteger queryByName(String name);
    Long queryByNameLong(String name);
    User queryUserByName(String name);
}

